/**
 * 进件 api 封装
 */
import { postRequest, getRequest } from '/@/lib/axios'

export const registApi = {
  /**
   * 分页查询
   */
  page: (param) => {
    return postRequest('/b-operation/enroll/j_merchants_product/page', param)
  },
  /**
   * 分页详情查询
   */
  detailPage: (param) => {
    return postRequest('/b-operation/enroll/j_merchants_product_detail/page', param)
  },
  /**
   * 根据id查经营详情
   */
  findId: (param) => {
    return postRequest('/b-operation/enroll/find_id', param)
  },
  /**
   * 获取对私业务银行列表
   */
  getPersonalBanking: (param) => {
    return postRequest('/b-operation/enroll/getPersonalBanking', param)
  },
  /**
   * 获取对公业务银行列表
   */
  getCorporateBanking: (param) => {
    return postRequest('/b-operation/enroll/getCorporateBanking', param)
  },
  /**
   * 获取对公业务银行列表
   */
  getBranches: (param) => {
    return postRequest('/b-operation/enroll/getBranches', param)
  },
  /**
   * 获取省份列表
   */
  getProvinces: (param) => {
    return postRequest('/b-operation/enroll/getProvinces', param)
  },
  /**
   * 获取城市列表
   */
  getCitys: (param) => {
    return postRequest('/b-operation/enroll/getCitys', param)
  },
}
